$.validator.addMethod(
	    "australianDate",
	    function(value, element) {
	        if (value.length == 0) return true;
	        // put your own logic here, this is just a (crappy) example	        
	        return value.match(/^\d\d?-\d\d?-\d\d\d\d$/);
	    },
	    "Ingreser una fecha con el formato dd-mm-yyyy"
);
$.validator.addMethod(
        "fulltime",
        function(value, element) {
            // put your own logic here, this is just a (crappy) example
            return value.match(/([01]?[0-9]|2[0-3]):[0-5][0-9]/);
        },
        "Ingreser una hora con el formato HH:MM"
);

jQuery.validator.addClassRules("datepicker", {
	required: false,
	australianDate: true
});
jQuery.validator.addClassRules("fulltime", {
    required: false,
    fulltime: true
});

